package com.huawei.springboot2023.business.menu.service.impl;

import com.huawei.springboot2023.business.menu.dto.Menu;
import com.huawei.springboot2023.business.menu.mapper.MenuMapper;
import com.huawei.springboot2023.business.menu.service.IMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huawei.springboot2023.core.dto.MyPager;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ChenHongYun
 * @since 2023-04-10
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {

    @Override
    public MyPager pagerMenuROle(String roleId) {
        MenuMapper baseMapper1 = this.getBaseMapper();

        return baseMapper1.pagerMenuROle(roleId);
    }
}
